<!DOCTYPE html>
<html xmlns:ng="http://angularjs.org" lang="en" class="ng-app:myApp" id="ng-app" ng-app="myApp">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport" />
<meta content="yes" name="apple-mobile-web-app-capable" />
<meta content="black" name="apple-mobile-web-app-status-bar-style" />
<meta content="telephone=no" name="format-detection" />
<meta content="email=no" name="format-detection" />
<meta http-equiv="pragram" content="no-cache" />
<meta http-equiv="cache-control" content="no-cache, must-revalidate" />
<meta http-equiv="expires" content="0" />
<link rel="stylesheet" type="text/css" href="../resources/css/common.css" />
<link rel="stylesheet" type="text/css" href="../resources/css/style.css" />
<title>注册</title>
<link rel="shortcut icon" type="image/x-icon" href="../resources/images/favicon.ico" /> 
</head>
<body ng-controller="controller_regist">
	<div class="header">
		<div class="l-icon">
			<span class="i"><img src="../resources/images/logo_l.png" /></span>
			<span class="t">注册</span>
		</div>
		<a href="../login.html" class="r-link">登录</a>
	</div>
	<div style="height:46px;width:100%;"></div>
	
	<div class="reg-input-wrap ng-hide" ng-show="registview">
		<ul>
			<li>
				<div class="tit f-l"><i>*</i>手机号&nbsp;:</div>
				<div class="content-right f-l bor-b">
					<input type="text" class="txtbox" id="regist_tel" ng-model="regist_tel"  placeholder="请输入您的手机号" />
					<a href="javascript:void(0)" class="l-txt-clear ng-hide" ng-show="regist_tel != ''" ng-click="regist_tel = ''">
						<img src="../resources/images/delete.png" />
					</a>
				</div>
			</li>
			<li>
				<div class="tit f-l"><i>*</i>验证码&nbsp;:</div>
				<div class="content-right f-l bor-b" style="width:52%">
						<input type="text" class="txtbox" ng-model="regist_code" placeholder="请输入您收到的手机验证码" />
						<a href="javascript:void(0)" class="l-txt-clear ng-hide" ng-show="regist_code != ''" ng-click="regist_code = ''">
							<img src="../resources/images/delete.png" />
						</a>
					</div>
					<a href="javascript:void(0)" id="btnVCodeGet" ng-click="sendCode()" class="v-code-get" ng-bind="vcodeTip">获取验证码</a>
				</li>
				<li>
					<div class="tit f-l"><i>*</i>密码&nbsp;:</div>
					<div class="content-right f-l bor-b">
						<input type="password" class="txtbox" id="regist_pwd" placeholder="请输入密码" ng-model="regist_pwd" />
						<a href="javascript:void(0)" class="l-txt-clear ng-hide" ng-show="regist_pwd != ''" ng-click="regist_pwd = ''">
							<img src="../resources/images/delete.png" />
						</a>
					</div>
				</li>
				<li>
					<div class="tit f-l">名字&nbsp;:</div>
					<div class="content-right f-l bor-b">
						<input type="text" class="txtbox" placeholder="请输入您的名字" id="regist_name" ng-model="regist_name" />
						<a href="javascript:void(0)" class="l-txt-clear ng-hide" ng-show="regist_name != ''" ng-click="regist_name = ''">
							<img src="../resources/images/delete.png" />
						</a>
					</div>
				</li>
				<li>
					<div class="tit f-l">身份证&nbsp;:</div>
					<div class="content-right f-l bor-b">
						<input type="text" class="txtbox" id="regist_idcard" placeholder="请输入您的身份证号" ng-model="regist_idcard" />
						<a href="javascript:void(0)" class="l-txt-clear ng-hide" ng-show="regist_idcard != ''" ng-click="regist_idcard = ''">
							<img src="../resources/images/delete.png" />
						</a>
					</div>
				</li>
				<li>
					<div class="tit f-l">选地区&nbsp;:</div>
					<div class="content-right f-l bor-b">
						<a href="javascript:void(0)" class="txtbox" ng-bind="regist_province_name + regist_city_name + regist_country_name" ng-click="registSelCountry()">请选择地区</a>
					</div>
				</li>
				<li>
					<div class="tit f-l">地址&nbsp;:</div>
					<div class="content-right f-l">
						<input type="text" class="txtbox" placeholder="请输入街道门牌信息" id="regist_address" ng-model="regist_address" />
						<a href="javascript:void(0)" class="l-txt-clear ng-hide" ng-show="regist_address != ''" ng-click="regist_address = ''">
							<img src="../resources/images/delete.png" />
						</a>
					</div>
				</li>
			</ul>
			<div class="option-wrap">
				<a href="javascript:void(0)" class="btn-log" ng-class="regist_tel != '' && regist_code != '' && regist_pwd != '' ? 'active' : ''" ng-click="fnRegist()">注册</a>
			</div>
	</div>
	
	<div ng-show="seladdressView" class="selfinfo-list ng-hide">
		<ul ng-if="chooseProvince">
			<li ng-repeat="provinceItem in provinceList" ng-click="provinceClick($index, provinceItem.code, provinceItem.name)">
				<div class="tit-l" id="{{provinceItem.code}}" ng-bind="provinceItem.name"></div>
				<div class="cont-r">
					<span class="arrow"><img src="../resources/images/a1.png" /></span>
				</div>
			</li>
		</ul>
		<ul ng-if="chooseCity">
			<li ng-repeat="cityItem in citys" ng-click="cityClick(cityItem.code, cityItem.name)">
				<div class="tit-l" id="{{cityItem.code}}" ng-bind="cityItem.name"></div>
			</li>
		</ul>
		<ul ng-if="chooseCountry">
			<li ng-repeat="countryItem in countrys" ng-click="countryClick(countryItem.code, countryItem.name)">
				<div class="tit-l" id="{{countryItem.code}}" ng-bind="countryItem.name"></div>
			</li>
		</ul>
	</div>
	
</body>

<script type="text/javascript" src="../resources/js/common/lib/jquery.js"></script>
<script type="text/javascript" src="../resources/js/common/lib/angular.js"></script>
<script type="text/javascript" src="../resources/js/common/lib/angular-route.js"></script>
<script type="text/javascript" src="../resources/js/common/lib/angular-resource.js"></script>
<script type="text/javascript" src="../resources/js/common/common.js"></script>
<script type="text/javascript" src="../resources/js/common/dataapi.js"></script>
<script type="text/javascript" src="../resources/js/controller/regist.js"></script>
</html>